Wraps a nkExport::JsonExporter and offer functions for use in scripting. More...
Static Public Member Functions | |
static void | updateEnvironment (nkScripts::Environment *env) |
static nkScripts::OutputValue | exportTreeIntoString (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | importIntoTree (const nkScripts::DataStack &stack) |
Wraps a nkExport::JsonExporter and offer functions for use in scripting.
|
static |
Updates a given environment and set it up to use all functions wrapped by this wrapper.
env | The environment to set up. |
|
static |
Wrapper function for nkExport::JsonExporter::exportTreeIntoString.
stack | The parameter stack. |
|
static |
Wrapper function for nkExport::JsonExporter::importIntoTree.
stack | The parameter stack. |